<template>
  <div class="login">
    
      <input type="text" /><br>
      <input type="text" /><br>
      <button @click='tohome()'>登录</button>
 
  </div>
</template>

<script>
export default {
    methods:{
        tohome(){
            this.$router.push('/home')
        }
    }
};
</script>

<style lang="scss" scoped>
.login{
    text-align: center;
    input{
        width: 400px;
        height: 50px;
        margin: 80px;
        border: 1px solid #999999;
    }
    button{
        width: 100px;
        height: 50px;
    }
}
</style>